package com.gcsoftware.beans;

import com.gcsoftware.web.utils.TimeUtils;

import java.util.Date;

/**
 * 系统日志
 * @author czp
 * date 2018-06-08
 */
public class SysLog {
    private String c_staff_name;
    private String c_login_ip;
    private String c_browser_type;
    private String c_state;
    private Date d_login_time;
    private String timeStr;

    public SysLog(String c_staff_name, String c_login_ip, String c_browser_type, String c_state) {
        this.c_staff_name = c_staff_name;
        this.c_login_ip = c_login_ip;
        this.c_browser_type = c_browser_type;
        this.c_state = c_state;
    }

    public SysLog() {
    }

    public Date getD_login_time() {
        return d_login_time;
    }

    public void setD_login_time(Date d_login_time) {
        this.d_login_time = d_login_time;
    }

    public String getTimeStr() {
        return TimeUtils.timeFormatting(d_login_time);
    }

    public void setTimeStr(String timeStr) {
        this.timeStr = timeStr;
    }

    public String getC_staff_name() {
        return c_staff_name;
    }

    public void setC_staff_name(String c_staff_name) {
        this.c_staff_name = c_staff_name;
    }

    public String getC_login_ip() {
        return c_login_ip;
    }

    public void setC_login_ip(String c_login_ip) {
        this.c_login_ip = c_login_ip;
    }

    public String getC_browser_type() {
        return c_browser_type;
    }

    public void setC_browser_type(String c_browser_type) {
        this.c_browser_type = c_browser_type;
    }

    public String getC_state() {
        return c_state;
    }

    public void setC_state(String c_state) {
        this.c_state = c_state;
    }
}
